<%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div class="easyui-accordion" data-options="fit:true,border:false" id="wnav_">
	<c:forEach items="${ModuleList}" var="module">
		<!-- 主菜单 -->
		<c:if test="${module.puuid == '1' && module.status == 1}">
			<div title="${module.name}" style="padding: 10px;">
				<ul>
					<c:forEach items="${ModuleList}" var="submenu">
						<!-- 子菜单 -->
						<c:if test="${submenu.puuid == module.uuid && submenu.status == 1}">
							<li>
								<div>
									<a onclick="addTabModule('${submenu.name }','<c:url value='${submenu.url }'/>')" href="javascript:void(0);">
										<span class="icon icon-nav">&nbsp;</span>
										<span class="nav">${submenu.name }</span>
									</a>
								</div>
							</li>
						</c:if>
					</c:forEach>
				</ul>
			</div>
		</c:if>
	</c:forEach>
</div>